03.10.2010, 21:30
whats wrong with my jetpack command?
error report
: warning 202: number of arguments does not match definition
: error 029: invalid expression, assumed zero
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
: tag mismatch
: warning 213: tag mismatch
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp("/jp", cmdtext, true,) == 0) { new float:X, float:Y, float:Z; GetPlayerPos(playerid, X, Y, Z); CreatePickup(370, 3, X, Y, Z); return 1; } return 0; }
: warning 202: number of arguments does not match definition
: error 029: invalid expression, assumed zero
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
: tag mismatch
: warning 213: tag mismatch