Quote:
Originally Posted by Snitty
I meant like this Door

|
Just create
new createpickup;
Then
at your on gamemode iniit
Createpickup = CreatePickup(1239,1ur location cords here); the first 2 numbers are ur pickup id you can get various of those ids from here
http://weedarr.wikidot.com/pickups
Then at OnCommandPlayerText
if (strcmp("/enter", cmdtext, true, 6) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,10,cords here))
{
SetPlayerPos(playerid,cords here);
return 1;
}
}
then exit cmd
if (strcmp("/exit", cmdtext, true, 6) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,10,3 cords))
{
SetPlayerPos(playerid,cords );
return 1;
}
}
I am sort of tired, pretty much it is basic, if you're sort of a experienced coder that should take you far.
I apologize if you didn't understand, just hit me up, when I am free I'll explain you more breifly. =]