21.08.2015, 13:51
this is my tele script:
CMD:bumpercars(playerid,params[]) {
new string[256];
new kuldoneve[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid,COLOR_BRIGHTRED,"You cannot escape your punishment!");
DestroyVehicle(GetPlayerVehicleID(playerid));
CarSpawner(playerid,539);
TeleTimer[playerid] = SetTimerEx("ttimer", 1000, true, "i",playerid);
tseconds[playerid] = 6;
format(tstring,45,"You Must wait %d seconds before teleporting", tseconds[playerid]-1);
if(PlayerInfo[playerid][Level] == 0) SendClientMessage(playerid,COLOR_LIGHTBLUE, tstring);
vCount[playerid] = 1;
Tx[playerid] =-2560.5032;
Ty[playerid] =1363.4918;
Tz[playerid] =28.8554;
Ti[playerid] = 0;
format(telestring,43,"~r~< ~b~Bumbper ~w~car ~r~>");
GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));
format(string, sizeof(string), "{FF0000}[Palmstunting[V.1.0] Info]:{46BEE6}%s just teleported to Las Ventures Bumper Cars {FF0000} /bumpercarst!", kuldoneve, playerid);
SendClientMessageToAll(COLOR_GREEN, string);
return 1;
I can change everyting but when i change the command ( here cmd:bumpercars ) the tele does not work anymore? Help me and get repp++
Tixxt is online now Add to Tixxt's Reputation Report Post
CMD:bumpercars(playerid,params[]) {
new string[256];
new kuldoneve[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid,COLOR_BRIGHTRED,"You cannot escape your punishment!");
DestroyVehicle(GetPlayerVehicleID(playerid));
CarSpawner(playerid,539);
TeleTimer[playerid] = SetTimerEx("ttimer", 1000, true, "i",playerid);
tseconds[playerid] = 6;
format(tstring,45,"You Must wait %d seconds before teleporting", tseconds[playerid]-1);
if(PlayerInfo[playerid][Level] == 0) SendClientMessage(playerid,COLOR_LIGHTBLUE, tstring);
vCount[playerid] = 1;
Tx[playerid] =-2560.5032;
Ty[playerid] =1363.4918;
Tz[playerid] =28.8554;
Ti[playerid] = 0;
format(telestring,43,"~r~< ~b~Bumbper ~w~car ~r~>");
GetPlayerName(playerid, kuldoneve, sizeof(kuldoneve));
format(string, sizeof(string), "{FF0000}[Palmstunting[V.1.0] Info]:{46BEE6}%s just teleported to Las Ventures Bumper Cars {FF0000} /bumpercarst!", kuldoneve, playerid);
SendClientMessageToAll(COLOR_GREEN, string);
return 1;
I can change everyting but when i change the command ( here cmd:bumpercars ) the tele does not work anymore? Help me and get repp++
Tixxt is online now Add to Tixxt's Reputation Report Post