if(strcmp(cmdtext, "/naselje", true) == 0) { SetPlayerPos(playerid,1323.5603,1442.3839,10.3777) ; return 1; } |
C:\Users\NASTIE\Desktop\samp03asvr_R4_win32\gamemo des\LvParty.pwn(113) : error 010: invalid function or declaration C:\Users\NASTIE\Desktop\samp03asvr_R4_win32\gamemo des\LvParty.pwn(116) : error 010: invalid function or declaration |
if (strcmp("/tp1", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,1550.9790,-931.4260,43.8890); SendClientMessage(playerid, COLOR_YELLOW, "You Teleported"); return 1; }
if(strcmp(cmdtext, "/dm", true) == 0) { GivePlayerWeapon(playerid, 26, 500); GivePlayerWeapon(playerid, 31, 500); SendClientMessage(playerid,0xFFFF00AA,"Dobio si M4 i shootgun zato jer si napisao /DM, sretno u borbi!"); new cartype = GetPlayerVehicleID(playerid); SetPlayerInterior(playerid,0); if(GetPlayerState(playerid) == 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; } return 0; } |