Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandReceived(playerid, cmdtext[]) {
- str_del_free_space(cmdtext);
- new car = -1;
- if(GetVehicleModelIDByName(cmdtext) != -1) {
- car = GetPlayerVehicleID(playerid);
- }
- if(car == -1) return SendClientMessage(playerid, -1, "Zła nazwa pojazdu.");
- CreatePlayerVehicle(playerid, GetVehicleModelIDByName(cmdtext));
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement