Problema con el fs car spawner
#8

ZUME tampoco funciona tu codigo
new SpawnedVehicles[MAX_PLAYERS] = {-1, ...};

if(strcmp(cmdtext,"/landstalker", true) == 0)
{
if(SpawnedVehicles[playerid] != -1)
{
DestroyVehicle(SpawnedVehicles[playerid]);
SpawnedVehicles[playerid] = -1;
}
new Float:X, Float:Y, Float:Z,Float:ROT;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,ROT);
GameTextForPlayer(playerid,"LANDSTALKER",2000,1);
SpawnedVehicles[playerid] = CreateVehicle(400,X,Y,Z,ROT,-1,-1,60);
PutPlayerInVehicle(playerid, SpawnedVehicles[playerid], 0);
return 1;
}


necesito algo que funciona compilar compilan bien pero sigues podiendo spawnear muchos vehiculos iguales sin qe se borren
Reply


Messages In This Thread
Problema con el fs car spawner - by Dan2312 - 30.12.2014, 10:51
Respuesta: Problema con el fs car spawner - by jotajeda - 30.12.2014, 16:33
Respuesta: Problema con el fs car spawner - by Dan2312 - 30.12.2014, 19:33
Respuesta: Problema con el fs car spawner - by jotajeda - 30.12.2014, 19:34
Respuesta: Problema con el fs car spawner - by Dan2312 - 30.12.2014, 19:40
Respuesta: Problema con el fs car spawner - by jotajeda - 30.12.2014, 19:44
Respuesta: Problema con el fs car spawner - by Zume - 30.12.2014, 19:49
Respuesta: Problema con el fs car spawner - by Dan2312 - 30.12.2014, 19:53
Respuesta: Problema con el fs car spawner - by Zume - 30.12.2014, 19:55
Respuesta: Problema con el fs car spawner - by Dan2312 - 30.12.2014, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)