Command
#1

is good? will work?

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/nrg", cmdtext, true, 10) == 0)
{
if(IsPlayerConnected(playerid))
{
GetVehiclePos(522, X, Y, Z); //NRG
//GetPlayerVehicleID(522, X, Y, Z)playerid;
SendClientMessage(playerid, COLOR_GREEN, "NRG Spawnat!");
}
return 1;
}
return 0;
}
Reply


Messages In This Thread
Command - by [DSK]Vyorel - 04.05.2009, 16:23
Re: Command - by Packer5 - 04.05.2009, 16:24
Re: Command - by Joe Staff - 04.05.2009, 16:25
Re: Command - by [DSK]Vyorel - 04.05.2009, 16:30
Re: Command - by Rks25 - 04.05.2009, 16:31
Re: Command - by [DSK]Vyorel - 04.05.2009, 16:33
Re: Command - by HB - 04.05.2009, 16:41
Re: Command - by XPlatform - 04.05.2009, 19:48

Forum Jump:


Users browsing this thread: 1 Guest(s)