[DCMD] Tele Help
#1

I am currently using Strcmp for teleports, but i want to intergrate this into Jakku's Organisation script, i want org id 10 to be able to use /tp2 and org id 12 to use /tp1
Ive tried everything, it keeps on coming up with errors, its driving me mad!
HELP!





Код:
 	if(strcmp("/tp1", cmdtext, true) == 0)
	{
	    SetPlayerPos(playerid, -2454.1790,503.7926,30.0791);
	    SetPlayerFacingAngle(playerid, 180);
	    SendClientMessage(playerid, 0xFF4500AA, "You have been teleported to Special Weapons and Tactics.");
	    return 1;
	    }
  	if(strcmp("/tp2", cmdtext, true) == 0)
	{
	    SetPlayerPos(playerid, 202.8185,1873.6564,13.1470);
	    SetPlayerFacingAngle(playerid, 180);
	    SendClientMessage(playerid, 0xFF4500AA, "You have been teleported to San Andreas Armed Forces.");
	    return 1;
	    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)