Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Bei den News:
- New Tore[10]; //Für 10 Tore kannst du ändern
- //Bei OnGameModeInit:
- Tore[0] = CreateObject..
- Tore[1] = CreateObject..
- //Beim Cmd:
- if(strcmp(cmdtext,"/auf", true) == 0)
- {
- if(IsPlayerInFrak(playerid, 1 && IsPlayerInRangeOfPoint(playerid, 10.0, 1549, -1623.6999511719, 14.10000038147)||IsPlayerInRangeOfPoint(playerid, 10.0, 1549, -1631.5999755859, 14.10000038147))
- {
- MoveDynamicObject(Tore[0],Koords,Speed);
- SetTimer("Torpub",6000,0);
- }
- return 1;
- }
- //Neues Public:
- forward Torpub();
- //Neues Public erstellen:
- public Torpub()
- {
- MoveObject(Tore[0],Koords,Speed);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment