Posts: 32
Threads: 7
Joined: Dec 2008
Reputation:
0
hi,
can we get more guns in the begin ??
its crash if i do more ??
: warning 202: number of arguments does not match definition
or i need add something to other place in script ?
Posts: 371
Threads: 13
Joined: Dec 2008
Reputation:
0
No, everytime a player spawns it will give them a weapon, (meaning all players that spawn)
Posts: 762
Threads: 157
Joined: Feb 2009
Reputation:
0
for that would you put the gun id or gun model id ?
Posts: 32
Threads: 7
Joined: Dec 2008
Reputation:
0
and i got this problem Lol ?
C:\Documents and Settings\DENNIS\Bureaublad\gta server\gamemodes\TW2.pwn(821) : error 001: expected token: ";", but found "else"
C:\Documents and Settings\DENNIS\Bureaublad\gta server\gamemodes\TW2.pwn(821) : warning 217: loose indentation
C:\Documents and Settings\DENNIS\Bureaublad\gta server\gamemodes\TW2.pwn(821) : error 029: invalid expression, assumed zero
C:\Documents and Settings\DENNIS\Bureaublad\gta server\gamemodes\TW2.pwn(821) : warning 215: expression has no effect
C:\Documents and Settings\DENNIS\Bureaublad\gta server\gamemodes\TW2.pwn(821) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\DENNIS\Bureaublad\gta server\gamemodes\TW2.pwn(821) : fatal error 107: too many error messages on one line
i got but i dont know how to add ?
if(gTeam[playerid] == TEAM_GROVE) { SetPlayerColor(playerid,COLOR_GREEN); SetPlayerInterior(playerid,3); }
else if(gTeam[playerid] == TEAM_BALLAS) SetPlayerColor(playerid,COLOR_PURPLE);
else if(gTeam[playerid] == TEAM_AZTEC) SetPlayerColor(playerid,COLOR_LIGHTBLUE);
else if(gTeam[playerid] == TEAM_NANG) SetPlayerColor(playerid,COLOR_DARKRED);
else if(gTeam[playerid] == TEAM_VAGOS) SetPlayerColor(playerid,COLOR_YELLOW);
else if(gTeam[playerid] == TEAM_COPS) SetPlayerColor(playerid,COLOR_BLUE);
else if(gTeam[playerid] == TEAM_MAFIA) SetPlayerColor(playerid,COLOR_BLACK);
else if(gTeam[playerid] == TEAM_BIKER) SetPlayerColor(playerid,COLOR_ORANGE);
else if(gTeam[playerid] == TEAM_TRIAD) SetPlayerColor(playerid,COLOR_WHITE);
else if(gTeam[playerid] == TEAM_ADMIN) { SetPlayerColor(playerid,COLOR_GOLD); GivePlayerWeapon(playerid,34,200); GivePlayerWeapon(playerid,16,50); }
else if(gTeam[playerid] == TEAM_ARMY) { SetPlayerColor(playerid,COLOR_DARKBROWN); SetPlayerFacingAngle(playerid,90); GivePlayerWeapon(playerid,16,7); }
else if(gTeam[playerid] == TEAM_LOWRIDER) SetPlayerColor(playerid,red);
else if(gTeam[playerid] == TEAM_SKATER) SetPlayerColor(playerid,Skater_grey);
else if(gTeam[playerid] == TEAM_UNDERTAKER) SetPlayerColor(playerid,COLOR_PINK);
else if(gTeam[playerid] == TEAM_WORKER) SetPlayerColor(playerid,Worker_green);
return 1;
}
how can i then add i got errors if i do that or something ?