Problema con el fs car spawner
#1

Tengo un problema, que se da spawneado muchos coches y al final se acaba bugueando todo..., al final ni se da andado, lo que querнa era permitir solo un coche por jugador, que cuando spawnee otro borre el que tenнa....Probй tanto con if IsPlayerInAnyVehicle y otros como If SpawnedVehicles[playerid]>=1... pero no me funcionaba. Esto es lo que utilizo:

if(strcmp(cmdtext,"/landstalker", true) == 0)
{
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 solucionar este problema para mi server. Muchas gracias



THE CRAZY JUMPS 198.100.144.190:2519
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)