modelid
#1

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  if(modelid == 574)
  {
 	SendClientMessage(playerid, COLOR_YELLOW, "*** Witamy w Sweeper'ze. Możesz tym czyscić ulice, zarabiając $2 za każdą minutę jazdy!");
 	}
 	return 1;
 	}
Код:
C:\Users\PUZI\Desktop\RP\gamemodes\rp-main.pwn(338) : error 017: undefined symbol "modelid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
I cannot remember whether it was modelid, or does it need to be defined? I would appreciate any help
If it is not modelid, what is it? I simply forgot
Reply
#2

pawn Код:
if(GetVehicleModel(vehicleid) == 574)
{
  // your code..
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)