01.07.2009, 15:46
Well, I'm working on my roleplay gamemode and the one that I have the Medics/Firemen spawn in SF when my gamemode is in LS, so I tried to change that, I'll explain what goes wrong below.
This is the orignal code with the SF cords:
But I want to add new cords from LS, so I /save'd them:
I'm not that good with cords and stuff, so I tried to put them in from what I know, this is the script with the new cords:
But... I get these errors:
Thank you in advance if you can help me.
This is the orignal code with the SF cords:
pawn Код:
if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//Fire/Ambulance spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -2656.0393,635.0596,14.4531);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
Quote:
AddPlayerClass(280,1173.2770,-1323.1829,15.3940,270.7559,0,0,0,0,0,0); // EMT |
pawn Код:
f (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//Fire/Ambulance spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 280,1173.2770,-1323.1829,15.3940,270.7559);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
Quote:
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(414 : warning 202: number of arguments does not match definition C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(414 : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. |