Jump to content
  • 0

Spawn DM Error


vampir_MD

Question

Am si eu codu ista da imi da eror da nustiu ce eror ee am incercat sal defin si tot nimik

new Minigun[MAX_PLAYERS];
Aista lam pus in comand de minigun
Minigun[playerid] = 1;
public OnPlayerSpawn(playerid)
if(Minigun[playerid] == 1)
    {
    SetPlayerRandomSpawnMinigun(playerid);
   	ResetPlayerWeapons(playerid);
	DM[playerid] = 1;
	GivePlayerWeapon(playerid,38 , 9999);
	SetPlayerWorldBounds(playerid, 1439.348, 1271.44, 2235.263, 2080.541);
    }
Si error
C:\Users\vampir\Desktop\server 3c\gamemodes\DKR.pwn(2578) : error 017: undefined symbol "SetPlayerRandomSpawnMinigun"
C:\Users\vampir\Desktop\server 3c\gamemodes\DKR.pwn(2580) : error 029: invalid expression, assumed zero
C:\Users\vampir\Desktop\server 3c\gamemodes\DKR.pwn(2580) : error 029: invalid expression, assumed zero
C:\Users\vampir\Desktop\server 3c\gamemodes\DKR.pwn(2580) : warning 215: expression has no effect
C:\Users\vampir\Desktop\server 3c\gamemodes\DKR.pwn(2580) : error 001: expected token: ";", but found "]"
C:\Users\vampir\Desktop\server 3c\gamemodes\DKR.pwn(2580) : fatal error 107: too many error messages on one line

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Ruben" post="60949" timestamp="1300276378"]

Incearca

    if(Minigun[playerid] == 1)
    {
   	ResetPlayerWeapons(playerid);
	DM[playerid] = 1;
	GivePlayerWeapon(playerid,38 , 9999);
	SetPlayerWorldBounds(playerid, 1439.348, 1271.44, 2235.263, 2080.541);
    return 1;
	}

fara SetPlayerRandomSpawnMinigun(playerid); nu merge commandu

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.