It gives me the same error
Код:
C:\Users\Jakken Koppen\Desktop\RoleplayRoleplay\hrp\gamemodes\rprp.pwn(12059) : error 006: must be assigned to an array
C:\Users\Jakken Koppen\Desktop\RoleplayRoleplay\hrp\gamemodes\rprp.pwn(12061) : error 006: must be assigned to an array
C:\Users\Jakken Koppen\Desktop\RoleplayRoleplay\hrp\gamemodes\rprp.pwn(12063) : error 006: must be assigned to an array
Here is the full section
Код:
public SetPlayerSpawn(playerid) // Sorensen
{
StopPlayerSpec(playerid);
// SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pSkin], PlayerInfo[playerid][pPosX], PlayerInfo[playerid][pPosY], PlayerInfo[playerid][pPosZ], 1.0, -1, -1, -1, -1, -1, -1);
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pSkin], 1655.9000244141,-2333.0300,-2328, 1.0, -1, -1, -1, -1, -1, -1);
SpawnPlayer(playerid);
new house = PlayerInfo[playerid][pHouseKey];
if(GetIntVar(playerid, "JustDoneRegister") == 1)
{
ToggleMainMenu(playerid, 0);
ShowHudTextDraws(playerid, 1);
StopAudioStreamForPlayer(playerid);
StopPlayerSpec(playerid);
SetIntVar(playerid, "gLogged", 1);
RemoveVar(playerid, "JustDoneRegister");
SetWorld(playerid, 0);
ClearChatbox(playerid, 50);
ClearChatbox(playerid, 100);
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pSkin], 1655.9000244141,-2333.0300,-2328, 13.5, -1, -1, -1, -1, -1, -1);/// LS Airport
ServerMSG(playerid, "It's your first time in the server use /help for the server commands.");
ServerMSG(playerid, "You can also use /helpme to get help from our {00FF00}OnDuty{FFFFFF} helpers.");
PlayerInfo[playerid][pRegistered] = 1;
PlayerInfo[playerid][pLevel] = 3;
PlayerInfo[playerid][pDrug][1] = "Marijuana";
PlayerInfo[playerid][pDrugAmount][1] = 20;
PlayerInfo[playerid][pDrug][2] = "Cocaine";
PlayerInfo[playerid][pDrugAmount][2] = 20;
PlayerInfo[playerid][pDrug][3] = "Heroin";
PlayerInfo[playerid][pDrugAmount][3] = 20;
PlayerInfo[playerid][pCellPhone] = 1;
PlayerInfo[playerid][pNumber] = randomEx(1234567, 9999999);
ShowHunger(playerid);
SetFightStyle(playerid, F_GRABKICK);
ScoreUpdate(playerid);
SetCash(playerid, 10000);
SetBankCash(playerid, 40000);
SetNormalColor(playerid);
SetInterior(playerid,0);
SavePlayerStats(playerid);
SetPlayerSpawn(playerid);
return 1;