12.07.2011, 18:13
Boa tarde galera seguinte...
to procurando a 1 tempo jб aqui no Search e nada de encontrar...
oque eu encontrei tentei mexer e nгo funcionou..
tentei criar o meu e tambйm nгo funcionou =/
fiz aqui de 1 modo que o garfiel ensinou
http://forum.sa-mp.com/showthread.ph...espawnar+todos
sу que tambйm nгo funcionou ¬¬
ai o cmd..
to procurando a 1 tempo jб aqui no Search e nada de encontrar...
oque eu encontrei tentei mexer e nгo funcionou..
tentei criar o meu e tambйm nгo funcionou =/
fiz aqui de 1 modo que o garfiel ensinou
http://forum.sa-mp.com/showthread.ph...espawnar+todos
sу que tambйm nгo funcionou ¬¬
Quote:
|
C:\Arquivos de programas\Rockstar Games\Gamemode\Gamemode Atual\pawno\Vag.pwn(7303) : warning 202: number of arguments does not match definition C:\Arquivos de programas\Rockstar Games\Gamemode\Gamemode Atual\pawno\Vag.pwn(8604) : error 017: undefined symbol "string" C:\Arquivos de programas\Rockstar Games\Gamemode\Gamemode Atual\pawno\Vag.pwn(8604) : error 017: undefined symbol "string" C:\Arquivos de programas\Rockstar Games\Gamemode\Gamemode Atual\pawno\Vag.pwn(8604) : error 029: invalid expression, assumed zero C:\Arquivos de programas\Rockstar Games\Gamemode\Gamemode Atual\pawno\Vag.pwn(8604) : fatal error 107: too many error messages on one line |
Код:
if(strcmp(cmdtext, "/respawnartodos", true) == 0)
{
ResetarCarros();
return 1;
}
stock ResetarCarros(playerid)
{
format(string, sizeof(string), "[INFO]: O Adminstrador %s Respawnou todos os veiculos", GetPlayerNick(playerid));
SendClientMessageToAll(0xFFFFFFFF, string);
new inVeh;
for( new i = 0; i < MAX_VEHICLES; i++ )
{
inVeh = false;
for( new j = 0; j < SLOTS; j++ )
{
if(IsPlayerInVehicle( j, i ))
{
inVeh = true;
break;
}
}
if(inVeh == false)
{
SetVehicleToRespawn(i);
}
}

