- 0
Problema compilare GM
-
Similar Content
-
- 3 replies
- 206 views
-
- 1 reply
- 165 views
-
- 1 answer
- 490 views
-
- 6 replies
- 519 views
-
- 4 replies
- 458 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
ZeCo
Problema intalnita (descriere): Imi da 4 erori la un Dialog
Ero(area / rile) / warning-(ul / urile):
C:\Users\Paul\Desktop\GameMode\GameMode\gamemodes\ThePyrex.pwn(33415) : error 029: invalid expression, assumed zero
C:\Users\Paul\Desktop\GameMode\GameMode\gamemodes\ThePyrex.pwn(33415) : error 017: undefined symbol "DialogString"
C:\Users\Paul\Desktop\GameMode\GameMode\gamemodes\ThePyrex.pwn(33415) : error 029: invalid expression, assumed zero
C:\Users\Paul\Desktop\GameMode\GameMode\gamemodes\ThePyrex.pwn(33415) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Liniile de cod / sursa / script-ul(obligatoriu):
//------------------------------------------------------------------------------------------//
if(strcmp(cmd, "/car", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new carkey = PlayerData[playerid][pPcarkey];
new carkey2 = PlayerData[playerid][pPcarkey2];
new carkey3 = PlayerData[playerid][pPcarkey3];
new carkey4 = PlayerData[playerid][pPcarkey4];
new carkey5 = PlayerData[playerid][pPcarkey5];
if(carkey != 999 && carkey != 0)
{
format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey][cDescription], CarData[carkey][cValue], CarData[carkey][cLockk], CarData[carkey][cNum]);
ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close");
}
if(carkey2 != 999 && carkey2 != 0)
{
format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey2][cDescription], CarData[carkey2][cValue], CarData[carkey2][cLockk], CarData[carkey2][cNum]);
ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close");
}
if(carkey3 != 999 && carkey3 != 0)
{
format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey3][cDescription], CarData[carkey3][cValue], CarData[carkey3][cLockk], CarData[carkey3][cNum]);
ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close");
}
if(carkey4 != 999 && carkey4 != 0)
{
format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey4][cDescription], CarData[carkey4][cValue], CarData[carkey4][cLockk], CarData[carkey4][cNum]);
ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close");
}
if(carkey5 != 999 && carkey5 != 0)
{
format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey5][cDescription], CarData[carkey5][cValue], CarData[carkey5][cLockk], CarData[carkey5][cNum]);
ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close");
}
return 1;
}
//----------------------------------------------------------------------------------------------------//
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da, nu am reusit
11 answers to this question
Recommended Posts