Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerConnect(playerid)
- {
- new CIP[128];
- new saveip[128];
- new IPN[124];
- GetPlayerName(playerid, IPN, sizeof(IPN));
- GetPlayerIp(playerid, CIP,sizeof(CIP));
- format(saveip,sizeof(saveip),"SaveIP/%s.txt",IPN);
- new File:SCIP = fopen(saveip, io_write);
- if(SCIP)
- {
- fwrite(SCIP, CIP);
- fclose(SCIP);
- }
- new loadm[128];
- new loadmoney[64];
- format(loadmoney,sizeof(loadmoney),"Stats/Money/%s.txt",PName);
- new File:LM = fopen(loadmoney, io_read);
- if(LM)
- {
- fread(LM, loadm);
- fclose(LM);
- }
- new lmm[128];
- format(lmm,sizeof(lmm),"%d",loadm);
- GivePlayerMoney(playerid,lmm);
- And This is eror:D!
- C:\Users\Arsene\Desktop\Servere\SanAndreas MultiPlayer\Servere\LFC Romania 2013\gamemodes\lfcgm.pwn(203) : error 035: argument type mismatch (argument 2)
- Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
- 1 Error.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement