18.02.2011, 17:02
pawn Code:
if(!strcmp(cmdtext,"/eject",true)) return SetPlayerSpecialAction(strval(cmdtext[strlen(cmdtext)-7]),SPECIAL_ACTION_EXIT_VEHICLE);
pawn Code:
if(!strcmp(cmd,"/eject",true))
{
new tmp[30];
tmp = strtok(cmdtext,idx);
new otherplayer = strval(tmp);
new Float:x,Float:y,Float:z;
GetPlayerPos(otherplayer,x,y,z);
SetPlayerPos(otherplayer,x,y,z);
return 1;
}