24.04.2014, 17:32
pawn Code:
if (PlayDM[playerid] == 1)
{
SetPlayerInterior(playerid, 0);//This will set player interior to 0
SetPlayerVirtualWorld(playerid, 10);//This will set player virtual world to 10
new ran = random(sizeof(DMSpawns));
SetPlayerPos(playerid, DMSpawns[ran][0], DMSpawns[ran][1], DMSpawns[ran][2]); //Set Player random pos X Y
SetPlayerFacingAngle(playerid, DMSpawns[ran][3]);//Set Player random fancing angle
GivePlayerWeapon(playerid, 4, 1500); //Give Player Rocket Launcher
}
pawn Code:
if(PlayDM(playerid) = 1)
pawn Code:
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : error 012: invalid function call, not a valid address
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : warning 215: expression has no effect
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : error 001: expected token: ";", but found ")"
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : error 029: invalid expression, assumed zero
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
if (PlayDM[playerid] == 1)
{
SetPlayerInterior(playerid, 0);//This will set player interior to 0
SetPlayerVirtualWorld(playerid, 10);//This will set player virtual world to 10
new ran = random(sizeof(DMSpawns));
SetPlayerPos(playerid, DMSpawns[ran][0], DMSpawns[ran][1], DMSpawns[ran][2]); //Set Player random pos X Y
SetPlayerFacingAngle(playerid, DMSpawns[ran][3]);//Set Player random fancing angle
GivePlayerWeapon(playerid, 4, 1500); //Give Player Rocket Launcher
}
pawn Code:
if(PlayDM(playerid) = 1)
pawn Code:
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : error 012: invalid function call, not a valid address
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : warning 215: expression has no effect
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : error 001: expected token: ";", but found ")"
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : error 029: invalid expression, assumed zero
C:\Users\Arlind\Desktop\fsdf\gamemodes\1v1.pwn(100 : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.