19.03.2012, 23:08
Allright, I got none to edit, just can anyone explain to me how to get more cmd's? Here's the code..
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mytp", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1602.3510,-1034.1279,23.9063);
SendClientMessage(playerid, COLOR_YELLOW , "You have been successfully teleported to the location.");
}
return 0;
}
With that, how can I set more tp locations etc...I am a begginer, sorry for the trouble. Thanks
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mytp", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1602.3510,-1034.1279,23.9063);
SendClientMessage(playerid, COLOR_YELLOW , "You have been successfully teleported to the location.");
}
return 0;
}
With that, how can I set more tp locations etc...I am a begginer, sorry for the trouble. Thanks