12.09.2011, 14:27
Hello,
I have created an sumo map but i wanna a player to have a vehicle if is type: /sumo
I wanna a script with random vehicles to put player in them if is use: /sumo
My sumo command here:
PLZ help me all can help!
Thanks!
I have created an sumo map but i wanna a player to have a vehicle if is type: /sumo
I wanna a script with random vehicles to put player in them if is use: /sumo
My sumo command here:
Код:
if(strcmp(cmdtext, "/sumo", true) == 0) { {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-1108.373901,-994.648681,169.191757);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-1108.373901,-994.648681,169.191757); SetVehicleZAngle(cartype,101.732429);} else {SetPlayerPos(playerid,-1108.373901,-994.648681,169.191757);} SendClientMessage(playerid, 0x33AA33AA,"Welcome in (/Sumo)!.");//I want vehicles not hust the player } return 1; }
Thanks!