02.11.2011, 15:15
please i need help..........
i need help
Код:
public OnPlayerCommandText(playerid, cmdtext[]) if (strcmp("/city", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, -2912.19921875,-985,11); GameTextForPlayer(playerid, "Drive Slowly",5000,5); return 1; } if (strcmp("/skcr", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, -2516.3000488281,-1111.0999755859,991.20001220703); GameTextForPlayer(playerid, "Sky Cage Road",5000,5);
Код HTML:
G:\....\gamemodes\1.pwn(430) : warning 209: function "OnPlayerCommandText" should return a value G:\....gamemodes\1.pwn(430) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.