Search Results
Quote: Originally Posted by DavidGravelli Just give me a example code Код: public OnGameModeInit() { Create3DTextLabel("{FF0000}Red text", -1,0.0,0.0,0.0,100.0,0,0); return...
336
https://sampwiki.blast.hk/wiki/Create3DTextLabel you may use color embedding for using various colors in the text regardless of the one desired in the function
336
every value involved in a mysql query should be enclosed with a double ' on the beginning and the ending of the value; Код: mysql_format(sql,string,sizeof(string),"INSERT INTO `houses` ( `Exterio...
166
you forgot the facing angle variable before pInterior and after f_PlayerPos[2]
205
sscanf returns 0 when succeed, and 1 when failed, Код: if(sscanf(params, "rd", id, dif)) { the code under this statement is called when a failure occurs of sscanf function here. the code under el...
256
you forgot the last parameter of weapon3's ammo in AddPlayerClass function edit: too late
237
you formatted the "string" variable, not the string2, "string" variable is supposed to represent be the string parameter in the command, and string2 is supposed to be the final string to send to the p...
200
does your include version matches with plugin's one? did you download these & install them? https://www.microsoft.com/en-us/down...s.aspx?id=5555 https://www.microsoft.com/en-us/down...s.aspx?id=8...
263
you didn't add the color parameter in SendClientMessage, assuming that the color is white; just add the parameter: Код: if (P_DATA[ playerid ][ P_Level ] < 1)return SendClientMessage( pla...
204
you didn't identify their data types in that query..
411
you have a count mistake, so that the whole query messed up; you have inserted into 8 fields, meanwhile the values count are 7 Код: `DeliveryID`, `DeliveryType`, `DeliveryObjective`, `DeliveryN...
411
Код: PutPlayerInVehicle(playerid, 411, 0); you here put player in a vehicle which its id is 411, not it's model. function's structure: Код: PuPlayerInVehicle(playerid, vehicleid, seatid) i gue...
290
in sql queries, you have to start and end the values with ' Код: SET `Faction` = '255' like that ^
309
yeah, that's possible, since it compiles without errors, and no bugs are caused nor complications / complexities
174
well, can you show me the pInfo array's enum? i mean the enum which you associated with pInfo array
465
it's the comma just remove the comma in the middle: DestroyVehicle(pInfo[playerid][Cars][i]);
465
Код: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(ispassenger == 1) { //entered as a passanger } return 1; }
460
it's not pressing, it's holding, pressing detects that you performed a key and then released it, meanwhile holding detects that you performed a key and still didn't release it; https://sampwiki.blast...
280
downloaded the requirement of that version? "microsoft visual c++ 2015 redistributable package (x86) "
355