05.02.2013, 01:47
Poh e Mensagemtoall para todos veres ai da erro string como irei resolver ?? Me Ajudem
os erros sгo
o Codigo й
os erros sгo
Quote:
C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(647) : error 017: undefined symbol "string" C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(647) : error 017: undefined symbol "string" C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(64 : error 017: undefined symbol "string" C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(649) : error 017: undefined symbol "string" |
PHP код:
if(!strcmp(cmdtext, "/sf", true))
{
GameTextForPlayer(playerid,"~w~Bem Vindo a ~n~~r~San Fierro",5000,5);if(IsPlayerInAnyVehicle(playerid)) {new VehicleID;
VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID,-1498.8904,799.6949,7.1875);SetVehicleZAngle(GetPlayerVehicleID(playerid), 179.0);
new string2[256];GetPlayerName(playerid, string, 256);format(string2, 256, "[ ThuG Info ] %s foi Para san fierro (/sf)", string);
SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);}else{new string2[256];GetPlayerName(playerid, string, 256);
format(string2, 256, "[ ThuG Info ] %s foi Para san fierro (/sf)", string);SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1498.8904,799.6949,7.1875);SetPlayerFacingAngle(playerid,179.0);}return 1;}