21.07.2009, 19:07
Hello.
So i got the command /clothes
And the errors
But if i am deleting the command from the mode every thing is fine
So i got the command /clothes
Код:
if(strcmp(cmd, "/clothes", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 2) { if (PlayerToPoint(5.0, playerid,1158.2600,-1343.6401,2358.4517)) { ShowMenuForPlayer(Clothes, playerid); TogglePlayerControllable(playerid, 0); } } } } return 1; }
Код:
C:\Documents and Settings\Yarik\Desktop\CD-Disabler 1.2\one of the best edits\gamemodes\crp.pwn(14869) : warning 209: function "OnPlayerCommandText" should return a value C:\Documents and Settings\Yarik\Desktop\CD-Disabler 1.2\one of the best edits\gamemodes\crp.pwn(14870) : error 010: invalid function or declaration C:\Documents and Settings\Yarik\Desktop\CD-Disabler 1.2\one of the best edits\gamemodes\crp.pwn(14874) : error 010: invalid function or declaration C:\Documents and Settings\Yarik\Desktop\CD-Disabler 1.2\one of the best edits\gamemodes\crp.pwn(14877) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.