CMD:bicikli(playerid, params[]){new s[10],bico;if(pInfo[playerid][bico]==0)return SendClientMessage(playerid,piros,\"Nincs biciklid\");if(sscanf(params,\"s\",s))return SendClientMessage(playerid,piros,\"Használat: /bicikli elovesz/elrak)\");if(Compare(s, \"elovesz\")){new Float:X, Float:Y, Float:Z;GetPlayerPos(playerid,X,Y,Z);bico=CreateVehicle(pInfo[playerid][bico], X, Y+0.5, Z, 0, pInfo[playerid][bicoCol], 1, 0); ProxDetector(15.0, playerid, \"*Valaki elõvette a biciklijét.\",lila,lila,lila,lila,lila);}if(Compare(s, \"elrak\")){DestroyVehicle(bico); ProxDetector(15.0, playerid, \"*Valaki elrakta a biciklijét.\",lila,lila,lila,lila,lila);}return 1;}
new bico[MAX_PLAYERS];
CMD:bicikli(playerid, params[]){ new s[10],bico; if(pInfo[playerid][bico]==0)return SendClientMessage(playerid,piros,\"Nincs biciklid\"); if(sscanf(params,\"s\",s))return SendClientMessage(playerid,piros,\"Használat: /bicikli elovesz/elrak)\"); if(Compare(s, \"elovesz\") || Compare(s, \"elõvesz\")) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid,X,Y,Z); bico[playerid]=CreateVehicle(pInfo[playerid][bico], X, Y+0.5, Z, 0, pInfo[playerid][bicoCol], 1, 0); ProxDetector(15.0, playerid, \"*Valaki elõvette a biciklijét.\",lila,lila,lila,lila,lila); } if(Compare(s, \"elrak\")) { DestroyVehicle(bico[playerid]); ProxDetector(15.0, playerid, \"*Valaki elrakta a biciklijét.\",lila,lila,lila,lila,lila); } return 1;}
new bico[MAX_PLAYERS]; CMD:bicikli(playerid, params[]) { new s[10]; if(pInfo[playerid][bico]==0)return SendClientMessage(playerid,piros,\"Nincs biciklid\"); if(sscanf(params,\"s\",s))return SendClientMessage(playerid,piros,\"Használat: /bicikli elovesz/elrak)\"); if(Compare(s, \"elovesz\") || Compare(s, \"elõvesz\")) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid,X,Y,Z); bico[playerid]=CreateVehicle(pInfo[playerid][bico], X, Y+0.5, Z, 0, pInfo[playerid][bicoCol], 1, 0); ProxDetector(15.0, playerid, \"*Valaki elõvette a biciklijét.\",lila,lila,lila,lila,lila); } if(Compare(s, \"elrak\")) { DestroyVehicle(bico[playerid]); ProxDetector(15.0, playerid, \"*Valaki elrakta a biciklijét.\",lila,lila,lila,lila,lila); } return 1; }
new bico[MAX_PLAYERS];CMD:bicikli(playerid, params[]){new s[10];if(pInfo[playerid][bico]==0)return SendClientMessage(playerid,piros,\"Nincs biciklid\");if(sscanf(params,\"s\",s))return SendClientMessage(playerid,piros,\"Használat: /bicikli elõvesz/elrak)\");if(Compare(s, \"elovesz\") || Compare(s, \"elõvesz\")){new Float:X, Float:Y, Float:Z;GetPlayerPos(playerid,X,Y,Z);DestroyVehicle(bico[playerid]);bico[playerid]=CreateVehicle(pInfo[playerid][bico], X, Y+0.5, Z, 0, pInfo[playerid][bicoCol], 1, 0); ProxDetector(15.0, playerid, \"*Valaki elõvette a biciklijét.\",lila,lila,lila,lila,lila);new engine, lights, alarm, doors, bonnet, boot, objective;GetVehicleParamsEx(bico[playerid], engine, lights, alarm, doors, bonnet, boot, objective);SetVehicleParamsEx(bico[playerid], true, lights, alarm, doors, bonnet, boot, objective);}if(Compare(s, \"elrak\")){DestroyVehicle(bico[playerid]); ProxDetector(15.0, playerid, \"*Valaki elrakta a biciklijét.\",lila,lila,lila,lila,lila);}return 1;}