02.06.2016, 16:35
There is your full code ? There some things missing.
I don't know what is the purpose of your code. The player spawn, you put him in a vehicle and destroy the vehicle.
Код:
public OnPlayerSpawn(playerid) { ResetPlayerWeapons(playerid); myvehicle = CreateVehicle(457, 2174.8621, 2946.9783, 25.5139, 0.0000, -1, -1, 100); PutPlayerInVehicle(playerid, myvehicle, 0); DestroyVehicle(myvehicle); if(GetPlayerWeapon(playerid) == 2) { Kick(playerid); } return 1; }