Quote:
Originally Posted by Allan Kardec
pawn Код:
if(strcmp("/ircord", cmdtext, true) == 0) { new Float:P[3]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, -1 , "/ircord [x] [y] [z]"); P[0] = strval(tmp); if(!strlen(tmp)) return SendClientMessage(playerid, -1 , "/ircord [x] [y] [z]"); P[1] = strval(tmp); if(!strlen(tmp)) return SendClientMessage(playerid, -1 , "/ircord [x] [y] [z]"); P[2] = strval(tmp); SetPlayerPos(playerid, P[0], P[1], P[2]); format(aStr, sizeof(aStr), "Teleportado atй as cordenadas X » [%f] , Y » [%f] , Z » [%f]", P[0], P[1], P[2]); return 1; }
@edit
Larceny ser emo kkkkk
|
C:\Users\Pedro\Desktop\LVC\GM\Com Infoorg\Las Venturas City\Las Venturas City\gamemodes\LasVenturas.pwn(39629) : error 017: undefined symbol "aStr"
C:\Users\Pedro\Desktop\LVC\GM\Com Infoorg\Las Venturas City\Las Venturas City\gamemodes\LasVenturas.pwn(39629) : error 017: undefined symbol "aStr"
C:\Users\Pedro\Desktop\LVC\GM\Com Infoorg\Las Venturas City\Las Venturas City\gamemodes\LasVenturas.pwn(39629) : error 029: invalid expression, assumed zero
C:\Users\Pedro\Desktop\LVC\GM\Com Infoorg\Las Venturas City\Las Venturas City\gamemodes\LasVenturas.pwn(39629) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Esqueci de dizer, sу adm pode usar^^
Linha:
pawn Код:
format(aStr, sizeof(aStr), "Teleportado atй as cordenadas X » [%f] , Y » [%f] , Z » [%f]", P[0], P[1], P[2]);