29.03.2011, 01:27
Quote:
new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z) public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/turismo", cmdtext, true, 10) == 0) CreateVehicle(451, float:x, float:y, 82.2873, 34, 34, 1000) SendClientMessage(playerid, 0xAA333399, "Vocк criou um turismo!"); } return 1; } |
Quote:
C:\Users\Gabriel\Desktop\NF.pwn(97) : error 017: undefined symbol "x" C:\Users\Gabriel\Desktop\NF.pwn(100) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
e o outro erro nгo entendo o porque ele fala que o return 1 estб com a funзгo invalida.
Obrigado