26.06.2016, 10:52
Код:
new string[ 300 ];
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
SM0 = TextDrawCreate(280.000091, 193.386627, "~w~Welcome To~g~San Fierro ~b~%s");
TextDrawLetterSize(SM0, 0.491600, 1.749333);
TextDrawAlignment(SM0, 2);
TextDrawColor(SM0, -1);
TextDrawSetShadow(SM0, 0);
TextDrawSetOutline(SM0, 1);
TextDrawBackgroundColor(SM0, 51);
TextDrawFont(SM0, 3);
TextDrawSetProportional(SM0, 1);
SM1 = TextDrawCreate(321.599914, 211.306549, "~w~Type ~y~/help ~y~/rules ~w~or ~y~/cmds ~w~for game info");
TextDrawLetterSize(SM1, 0.334000, 1.368533);
TextDrawAlignment(SM1, 2);
TextDrawColor(SM1, -1);
TextDrawSetShadow(SM1, 0);
TextDrawSetOutline(SM1, 1);
TextDrawBackgroundColor(SM1, 51);
TextDrawFont(SM1, 3);
TextDrawSetProportional(SM1, 1);
Код:
C:\Users\Anurag\Desktop\Most Wanted Cops and Robbers v1.1\gamemodes\MWCNR.pwn(2719) : error 017: undefined symbol "playerid" C:\Users\Anurag\Desktop\Most Wanted Cops and Robbers v1.1\gamemodes\MWCNR.pwn(2739) : error 021: symbol already defined: "string"
Код:
GetPlayerName(playerid, pName, sizeof(pName));


