02.11.2012, 05:39
I have this code under OnPlayerConnect but I'm getting an error;
I can't seem too find whats wrong and any help thats given is very apreciated!
Код:
C:\Users\School\Desktop\DH\gamemodes\drift.pwn(503) : error 035: argument type mismatch (argument 3) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
new ip[16]; GetPlayerIp(playerid, ip, sizeof(ip)); if(fexist(file)){ GetPlayerPos(playerid, X, Y, Z); dini_FloatSet(file, "LastX", X); dini_FloatSet(file, "LastY", Y); dini_FloatSet(file, "LastZ", Z); dini_FloatSet(file, "IP", ip); dini_IntSet(file, "Cash", GetPlayerMoney(playerid)); dini_IntSet(file, "Score", GetPlayerScore(playerid)); }