Teleports commands problem!
#1

Quote:

if(strcmp(cmdtext, "/dm", true) == 0)
{
SetPlayerInterior(playerid,0);
if(State!=PLAYER_STATE_DRIVER)
{
SetPlayerPos(playerid,1374.8513,1769.3303,10.8203) ;
}
else if(IsPlayerInVehicle(playerid, cartype) == 1)
{
SetVehiclePos(cartype,1374.8513,1769.3303,10.8203) ;
SetVehicleZAngle(cartype,30.6101);
}
else
{
SetPlayerPos(playerid,1374.8513,1769.3303,10.8203) ;
}
GameTextForPlayer(playerid,"dobro dosli u DM arenu",2500,3);
return 1;
}

and when i press F5 this errors show to me
Quote:

C:\Users\NASTIE\Desktop\samp03asvr_R4_win32\gamemo des\LvParty.pwn(322) : error 010: invalid function or declaration
C:\Users\NASTIE\Desktop\samp03asvr_R4_win32\gamemo des\LvParty.pwn(325) : error 010: invalid function or declaration
C:\Users\NASTIE\Desktop\samp03asvr_R4_win32\gamemo des\LvParty.pwn(329) : error 010: invalid function or declaration
C:\Users\NASTIE\Desktop\samp03asvr_R4_win32\gamemo des\LvParty.pwn(334) : error 010: invalid function or declaration
C:\Users\NASTIE\Desktop\samp03asvr_R4_win32\gamemo des\LvParty.pwn(339) : error 010: invalid function or declaration

Reply


Messages In This Thread
Teleports commands problem! - by nastoe - 24.01.2010, 15:40
Re: Teleports commands problem! - by nastoe - 24.01.2010, 15:41
Re: Teleports commands problem! - by biltong - 24.01.2010, 16:05
Re: Teleports commands problem! - by nastoe - 24.01.2010, 16:11

Forum Jump:


Users browsing this thread: 1 Guest(s)