new gokart;CMD:gokart(playerid, params[]){ if(IsPlayerAdmin(playerid)) { new Float:X,Float:Y,Float:Z;GetPlayerPos(playerid, X,Y,Z);gokart = CreateVehicle(571, X,Y,Z, 0.0, 1, 1, 6000); } else SendClientMessage(playerid, COLOR, \"Nem vagy admin!\"); return 1;}public OnPlayerExitVehicle(playerid, vehicleid){ if(vehicleid == gokart) DestroyVehicle(gokart); return 1;}
(Tulaj vagyok) és nem hozza le valamiért,elõre is köszi.[/quote]Jelentkezz be rcon adminnak \"/rcon login jelszó\".
#include a_sampnew gokart;CMD:gokart(playerid, params[]){ if(IsPlayerAdmin(playerid)) { new Float:X,Float:Y,Float:Z;GetPlayerPos(playerid, X,Y,Z);gokart = CreateVehicle(571, X,Y,Z, 0.0, 1, 1, 6000); } else SendClientMessage(playerid, COLOR, \"Nem vagy admin!\"); return 1;}public OnPlayerExitVehicle(playerid, vehicleid){ if(vehicleid == gokart) DestroyVehicle(gokart); return 1;}