Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #define MAX_WEEKEND_CAR_NAME_LENGTH 25
- enum weekendCars_Data
- {
- wc_model,
- wc_name[ MAX_WEEKEND_CAR_NAME_LENGTH ],
- wc_color1,
- wc_color2,
- Float:wc_X,
- Float:wc_Y,
- Float:wc_Z,
- Float:wc_RZ,
- wc_vehid = -1, /// Just a default value. Don't change this.
- bool:wc_locked = false, /// Whether the car is locked or no. It's unlocked in default, don't change this.
- Text3D:wc_3dlabel = -1, /// This is for attaching the "locked car" label into the car. It's -1 by default, don't change this.
- };
- //// Here the list of the weekend cars.
- new wcInfo[ 2 ][ weekendCars_Data ] = {
- { 410, "The hero", -1, -1, 5.5, 5.5, 5.5, 5.5 } ,
- { 420, "My best car", -1, -1, 5.5, 12.5, 51.2, 2.5 }
- };
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
- wcInfo[ 0 ][ wc_vehid ] = 1; /// ERROR IS ON THIS LINE!!!!!
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement