Teleport to Certain car
#1

Ive tried to get this to work i havnt scripted and few months so i fogot a lot well heres the code that wont work

Код:
  if(strcmp(cmdtext, "/dgride", true, 6) == 0) {
    bombcarpos =    GetVehiclePos(bombcar10);
    SetPlayerPos(playerid,bombcarpos);
    return 1;
  }
Reply
#2

pawn Код:
if(strcmp(cmdtext, "/dgride", true) == 0)
{
   new Float:x,Float:y,Float:z;
   GetVehiclePos(bombcar10,x,y,z);
   SetPlayerPos(playerid,x,y,z);
   return 1;
}
Reply
#3

thanks a lot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)