Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- main(){}
- public OnGameModeInit()
- {
- AddPlayerClass(289, 0, 0, 0 + 10, 0, 0, 0, 0, 0, 0, 0);
- SetGameModeText("Testing 1 2 3");
- }
- public OnPlayerConnect(playerid)
- {
- new text[200];
- format(text, sizeof(text), "Connected for: %d", NetStats_GetConnectedTime(playerid));
- SendClientMessage(playerid, -1, text);
- return 1;
- }
- CMD:v(playerid, params[])
- {
- new Float: x, Float: y, Float: z;
- GetPlayerPos(playerid, x, y, z);
- CreateVehicle(strval(params), x+2, y+2, z+0.2, 0.0, 1, 2, -1, 1);
- return 1;
- }
- CMD:w(playerid, params[])
- {
- GivePlayerWeapon(playerid, strval(params), 9999);
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement